package com.office.service;

import com.office.bean.Major;

import java.util.List;
import java.util.Map;

public interface MajorService {

    int addMajor(Major major);

    long findTotalcount();
    List<Major> findMajorsByPage(Map<String ,Object> map);

    boolean deleteById(int id);

    Major findDepById(int id);

    int update(Major major);
}
